﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Bot.Domain.CodePlanField
{
    public class CodePlanFieldDto : BaseDto
    {
        public CodePlanFieldDto()
        {
        }
        
        [Required]
        
        public Guid CodePlanId { get; set; }   
        
        [Required]
        
        public byte FormType { get; set; }   
        
        [Required]
        
        public bool IfSystem { get; set; }   
        
        [Required]
        [MaxLength(256)]        
        public string SystemName { get; set; }   
        
        [Required]
        [MaxLength(256)]        
        public string DisplayText { get; set; }   
        
        [Required]
        
        public int Type { get; set; }   
        
        [Required]
        
        public bool IfVisible { get; set; }   
        
        [Required]
        
        public bool IfRequired { get; set; }   
        
        [Required]
        
        public int OrderId { get; set; }   
        
    }
}
